package com.linsir.lin.dto;

import java.util.List;

/**
 * @ProjectName:linsir-lin
 * @Package:com.linsir.lin.dto
 * @Title: ListDTO
 * @Description: TODO
 * @Create:2021/6/6 16:41 by @author:Linsir
 * @Update:2021/6/6 16:41 by @author:Linsir
 * @UpdateRemark: 初始创建
 * @Version 1.0.0
 */
public class GridDTO<T> {

    private String code;

    private String msg;

    private Long count;

    private List<T> data;

    public GridDTO(String code, String msg, Long count, List<T> data)
    {
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data =data;
    }


    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public Long getCount() {
        return count;
    }

    public void setCount(Long count) {
        this.count = count;
    }

    public List<T> getData() {
        return data;
    }

    public void setData(List<T> data) {
        this.data = data;
    }
}
